package com.ld.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: Liudao
 * @Date: 2022-08-23-16:12
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "ldd")
public class Books {

    private List<Book> books;

    public List<Book> getBooks(){
        return books;
    }


}
